package cn.zl.ymcc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色权限表
 * </p>
 *
 * @author zl
 * @since 2025-10-18
 */
    @Getter
    @Setter
    @ToString
    @Accessors(chain = true)
    @TableName("t_role_permission")
        public class RolePermission implements Serializable {

        private static final long serialVersionUID = 1L;
    
        @TableField("role_id")
    private Long roleId;

        @TableField("permission_id")
    private Long permissionId;

                        @TableId(value = "id", type = IdType.AUTO)
                private Long id;
    }